package com.sce.client;

public enum Theme {
	
	ECLIPSE("ace/theme/eclipse"),
	CHROME("ace/theme/chrome"),
	CLOUDS("ace/theme/clouds"),
	CRIMSON_EDITOR("ace/theme/crimson_editor"),
	DAWN("ace/theme/dawn"),
	DREAMWEAVER("ace/theme/dreamweaver"),
	GITHUB("ace/theme/github"),
	SOLARIZED_LIGHT("ace/theme/solarized_light"),
	TEXT_MATE("ace/theme/textmate"),
	TOMORROW("ace/theme/tomorrow"),
	XCODE("ace/theme/xcode"),
	KUROIR("ace/theme/kuroir"),
	KATZEN_MILCH("ace/theme/katzenmilch"),
	AMBIANCE("ace/theme/ambiance"),
	CHAOS("ace/theme/chaos"),
	CLOUDS_MIDNIGHT("ace/theme/clouds_midnight"),
	COBALT("ace/theme/cobalt"),
	IDLE_FINGERS("ace/theme/idle_fingers"),
	KR_THEME("ace/theme/kr_theme"),
	MERBIVORE("ace/theme/merbivore"),
	MERBIVORE_SOFT("ace/theme/merbivore_soft"),
	MONO_INDUSTRIAL("ace/theme/mono_industrial"),
	MONOKAI("ace/theme/monokai"),
	PASTEL_ON_DARK("ace/theme/pastel_on_dark"),
	SOLARIZED_DARK("ace/theme/solarized_dark"),
	TERMINAL("ace/theme/terminal"),
	TOMORROW_NIGHT("ace/theme/tomorrow_night"),
	TOMORROW_NIGHT_BLUE("ace/theme/tomorrow_night_blue"),
	TOMORROW_NIGHT_BRIGHT("ace/theme/tomorrow_night_bright"),
	TOMORROW_NIGHT_80s("ace/theme/tomorrow_night_eighties"),
	TWILIGHT("ace/theme/twilight"),
	VIBRANT_INK("ace/theme/vibrant_ink");
	
	private String value;
	
	private Theme(String value) {
		this.value = value;
	}
	
	public String getValue() {
		return value;
	}
	
	public static Theme getByValue(String value) {
		for (Theme theme : values()) {
			if (theme.getValue().equalsIgnoreCase(value)) {
				return theme;
			}
		}
		return null;
	}
}